Component({
  data: {
    Index:0
  },
  properties: {
    tab: {
      type: Array,
      value:[]
    }
  },
  methods: {
    handleActive(e) { 
      const { index } = e.currentTarget.dataset;
      this.setData({ Index:index })
    }
  }
})